export default class Config{
  /**
   * 图片服务器地址
   */
  readonly MAIN_IMAGE_SERVICE_ADDR: string = "http://qiniu.yangpihu.net";

  /**
   * 请求API前缀
   */
  readonly MAIN_BASE_API: string = "http://218.75.78.171:9081";

  /**
   * 七牛云上传前缀
   */
  readonly QINIUYUN_UP_API: string = "https://up-z2.qiniup.com";

  /**
   * 攻略图片上传前缀
   */
  readonly QINIUYUN_UP_BEFORE_NAME: string = "moblie_app_slices/strategy_upload/";

  /**
   * 高德api
   */
  readonly MAIN_AMAP_KEY = '53385986cc71100f5bf20fcee0ca0ebf';

  /**
   * 首页海报轮播图最大数量
   */
  readonly INDEX_BANNER_MAX_COUNT: number = 10;

  /**
   * 首页旅游攻略最大数量
   */
  readonly INDEX_STRATEGY_MAX_COUNT: number = 10;

  /**
   * 首页活动列表每页条数
   */
  readonly INDEX_ACTIVITY_PAGE_SIZE: number = 10;

  /**
   * 订单列表每页几条
   */
  readonly INDEX_ORDER_PAGE_SIZE: number = 10;

  /**
   * 订单状态枚举
   */
  readonly ORDER_STATUS_ENUM = {
    "all": 0,
    "pendding": 1,
    "notuse": 2,
    "complete": 3
  };

  /**
   * 发现页面攻略每页数
   */
  readonly FIND_STRATEGY_PAGE_SIZE: number = 10;

  /**
   * 发现页面活动每页数
   */
  readonly FIND_ACTIVITY_PAGE_SIZE: number = 10;

  /**
   * 项目页面产品每页数
   */
  readonly PRODUCTS_PAGE_SIZE: number = 10;

  /**
   * 评论类型
   */
  readonly FEEDBACK_CATEGORY = {
    "feedback": 0,
    "comment": 1
  }
}